<script setup>
import router from '@/router/index'

function goBack() {
  router.push({ name: 'Home' })
}
</script>

<template>
  <el-empty description="没有权限">
    <el-button type="primary" size="large" @click="goBack">首页</el-button>
  </el-empty>
</template>
